package com.etlmaster.executor.parser;

import java.util.List;

import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlValue;

@XmlRootElement(name="job")
public
class XmlJob{
	
	@XmlAttribute
	public String variables;
	
	@XmlAttribute
	public String jobId;
	
	@XmlAttribute
	public String jobName;
	
	@XmlAttribute
	public String jobBatchNo;

	@XmlAttribute
	public String teamCode;
	
	@XmlElement
	public List<XmlStep> step;
}

@XmlRootElement(name="step")

class XmlStep{
	@XmlAttribute
	public String id;
	
	@XmlAttribute
	public String name;
	
	@XmlAttribute
	public String stepInst;
	
	@XmlAttribute
	public String completeSteps;
	
	@XmlAttribute
	public String successSteps;
	
	@XmlAttribute
	public String failedSteps;
	
	@XmlAttribute
	public String nextSteps;
	
	@XmlAttribute
	public String parentId;
	
	@XmlValue
	public
	String value;
}
